Added some comments to clarify what's going on here@