 
   void verify_aggregation_table(){
 
-    for(auto const &k : this->expected_values)
+    for(auto const &expected : this->expected_values)
     {
-      key_type test_key = k.first;
-
-      value_type expected_value = k.second;
+      key_type test_key = expected.first;
+
+      value_type expected_value = expected.second;
 
       auto found = this->the_map->find(test_key);
 


    return std::make_pair(thrust::raw_pointer_cast(d_groupby_column.data()), 
                          thrust::raw_pointer_cast(d_aggregation_column.data()));
  }

  void build_aggregation_table_device(std::pair<key_type*, value_type*> input)

  const int num_keys = 1<<12;
  const int num_values_per_key = 1;
  auto input = this->create_input(num_keys, num_values_per_key, 1000, 1000);
  this->compute_reference_solution();
  this->build_aggregation_table_device(input);
  this->verify_aggregation_table();
  unsigned int result_size = this->extract_groupby_result_device();
