use config for as much as you can