implemented five-note formulas