support for nested conditions