removed console.log statements and commented code