moved %named_formats to run()