removed console.log debug