work on re-writting generate prims, also I'm going to try and list all the prims there before actually writing them