changing data to occupations