Added more comments to cement understanding.