need to refactor nav bar