generate both report formulas