added an additional validation to the exchange model