Add find max in array