logging chanched as it should be