changed how the nav displays, added some comments