adding new noloop strategy, rewrote test cases