added the new alert, and reset works
got rid of old code