add event name field, fixes #1