add support for max attribute