removed console.log from code