flattened contionals