more flexible configuration