Added a loop module