Added quality formulas