Documentation to loops