more work on tquery.poolball