working on adding primarykeys