USING THE NAVIGATION FUNCTION