configurable event type

fixes #11