Adding comments to explain mechanism