algo tree uniform interface