wip on config parsing