Implement loadTree