modified startup order