add more comments to clarify code