removed log statements