implemented removed event function
Merge pull request #6 from Qiki/remove_event_function

implemented remove event function