added delete event functionality. Needs better button