start factoring implicit string-context out of the cpf code