working bb query and start of nn