got rid of console.log statements