made card objects less mutable. (immutable means you cannot mutate them (change them)).