rename config method to configure