single config method