Changed the retrieve object to public, and added get rootPointer()
method i could use them in the dumpText() function.