Add dirty showTree implementation