refactored the verifyTransitions method. refs #13