add constraint on amount not to be greater then 2