Removed some debugging console.log calls