added method to delete events