adding support for max, min, exp, log