add validations for Transaction