maximal repeats works through UI