added Min and Max validator