tree mapping