change names and factors