math.max and math.min won't take arrays as params I guess lol