working with config obj