using new config code