Fixing order of events