example of mutator pattern