parse tree on startup