switched order of start up