added makeConfig()