config and format