got the event queue working