actually added the logging this time