finished getSuccessor