got rid of log statements