removed 2 console.logs