passing complete plan object into formulas now, then we can parse as needed within the formulas