computing a sum is for for payroll