added CAS
added order when processing ISets