removed some console.log calls