implement the config tree