merge branch prim