adding event queue and config