Added create alert functionality