document :loops