revise signature; make treepath configurable
handle floats
remove