store log(f) in factor