Tree library