adding on state for primary navigation