re-established PoV Distance Query and debugged it