more scenarios on the state handling