added the option for inline raw data with layout