add maxRepeats annotation