getting rid of console.log