removed console.log
renamed method and removed console.log