Sorting the alert out