Implementation of set operators