added raw data output