added some payroll queries