refactor nav to separate namespace.