added event delete functionality