proper multi loop usage