why get rid of the logging here?