make config structure stateless