working near query