use explicit return types in configurationService