Add navigation() function.