Implemented print primary nav function