added some log messages