add query location