adding PrimaryField to fields