added delete event functions