tree is working, user interface will be added