Working on the logic of how the evaluator reads in a query