Mutable state example