One solution to the second payroll problem.