adjusted logging