Added Query to populate table