added some debugging loggers