Added min and max ranges