adds amount validation with min & max