removed mark/unmark code; added ability to delete event