add prim method and two test case