Fixed loop doc