added functionality to add navigation items