Implemented union with filterAcc