Added total costs of all class variable