init phase 3

Just copt from phase 2.