Add comments to processing code