Removed debugging console.log.