max() and min() functions are deprecated

Now they are called maximum() and minimum()