added tree classes