Getting rid of some console.logs