go trough a tree structure defined based on datatype
last change from 2014