Removed alerts and added some helpful comments