to facilitate unit testing newConfiguration() split into two functions