99% of set definitions working