slight tweak to logging