Streamlined from_formula