practiced loop and iterator pgms