Initial integration between query and comparisonlist