better structure for nav directives