logging in a different way