added beginnings of the nav directive