vector->map. Need to be done