tree parser II