tree is almost correct, not quite tho