working on test queries