small tweak - just making it prettier with an encapsulated method
new test on loop