added raw data and sql commands