found bug: consecutive equivalent occurrences, still trying to fix