made NavBar class