Adding a little bit more logging.