my $values_array = $dbh2->selectall_arrayref($query1)