Added working state stack.