removed console.log calls