start to implement new process for loop
simple loop substitution are not made into loop now.