added some log output