initial work for generation of nav bar