added support for parent search