Conditional sets

Sorted it