changed the way the nav thing works