value not var as map of states is mutable