adding some nav functionality