write out formulas properly