prim finally