tree machines