removed console.log debug
removed unnecessary lines