added UP and DN hierarchy support
Merge remote-tracking branch 'origin/master'