When more than one thing would happen at the same time, you may decide the order in which those things happen. However, anything that happens "immediately" must happen before any other things.