modified emit order