added code to create tree from parser