use config directly