finished all the other stages, the unused states still need to be handled