refactors out *current-config*