Added functionality to pass MakeArray test