half-working parse tree