use config instead of defaults