logging and testing...
testing madness