Class UnionFunction