Removed debugging console.logs