removed log statements.