Adds loop section