add check for if nav exists