add support for pan subtree