pass the entire config