double assignment with the below for(it = vals.begin()....