added min and max attributes and support