Added new document

A detailed look at two parts of the loop