Getting rid of console.log