Added additional logging.