Adds loop function and regression test alias