added delete function to my events