added annotations to the code to help understand yesterdays' additons.