removed a bunch of log statements