about to move repetition check to world