Removed alerts and console.logs