just added some log messages