Added an alert to the first two out of three "else".