confings was refactored