Adding methods to investigate given trees