tweaks, logging work