adding prims