building the event selector interface