-implementation of config