updated documentation on NewConfig()