adding TSD formulas