incomplete code to create and iterating execution of a query tree