programmatically induce repetition