added in selector for the results for each query