working on the qtree representer