before introducing the display_nav_item helper