Removing console.log debugging