Prim_plan1