working on revised implementation of features - prim num done