added some comments to clarify