Added var totalWage