loop adjustments