added pointer to nav bar