use new nav_query function