Step 1.1 of event loop