finish basic querying and testing