updated comments to match guidelines