Changed order of events.