Changed 'head' to 'root' because my retarded self named the root of the tree 'head'