use config dict