added CFG.repeat()