added comments to clarify previous changes