remove mutable state