groups in tree