handle times of notifications