deleted IntermediateState as a keyword