added event types. closes #419