consolidate mutable state into one state variable