Step 2.1 of event loop