modified to use new config passing mechanizm