removed some log statements