messed up moving logging stuff