refactoring: user public config