_loop

(1) Further commentary added  (2) Some variables cleaned up