tree machine