preliminary tree functions for the new Parser