version 2.5, now with sets and repeat