improved parent locator
improved parent locator
Merge pull request #50 from raffazizzi/master

Improved parent locator code