tree selector works