Better style for the validation of the amount