Ad hoc, nested loops