removed console.log statements from code