added comments to explain process