added formulas to pdf