create event interface