add traverseUp & traverseUp methods + javadoc
add traverseUp & traverseUp methods + javadoc