add docblock about getParent