added eventstream that remembers a state