QueryPossible

uncommented code and minor fix to query.