Trying to get printtree to work