add union and intersection helper methods