change config methods to public