added runReadQuery method