Added comments to clarify things a bit