removed console.log outputs