added GetDifference() func from beanmaker