added array and definition for max