Changed alert notifications, added helper method