removed debugging console.log code