added testing nav functionality code for reference