Corrected some methods, completed alert system.