Adding more logging.