some leftover renaming (factorvalue to factor)