second and third phase