Create navLogic