nav bar adapter work