Added parameter to GetUnitAndDepList