removed some log statements;