added a debug statement for Query.py