support layered configuration