small change to prim