remove 2 console.log's