Add select <-> repetition

Add an example of synchronizing the select with a repetition