change Config class's implementation