adapted design to StLoop with repeat
sintaxis, loop example