"he is ambiguous - maybe max is a function that returns an array or other type" . . . .