Starting to flush out the criteria and chaining for complex queries