*moved common function.
*added dhusor version.