added state for stateful topic