Added private to the primaryKey function to actually make it private