wip
more complex configuration passing