instrument outer loop in automatic processing