phase 0 and 1 complete