add result_format option