added demo for format_scat