Removed debugging console.log statements