adapted config passing