adding in dynamic navigation