Added tdp calc.