working on the nav control