function max (a, b) local m = a if a then local m = b end return m end