make configuration more flexible and more readable