Added more comments to clear any confusion