some debugging/logging stuff
3 files changed