Removing unneeded console.log