Removing unecessary console.log