evolving to function objects for writing newick