setTimeout for each phase