added custom alert system