converted ExtractUnitInfo to array for easier readability