Add comments to large functions