use config not db