add factor_U and factor_L functions to transform to CPCs