changed event queue references to pointer