Loop processing.