finish state B