Removed test code for alerts