Conditional enclose