Added the individual total calculations.