added min max validation