implemented (but haven't tested) removeEventHandler