added min value restriction for amount in model