learned some new formulas from this one but actually pretty simple