correct random algorithm for loops
add Timon loops