make sure the end state is named