Removed debugging console.log();