Removed Array.max() function