changed config method