added GetUnion() func from beanmaker