add parentness
Merge pull request #1551 from sijchen/after_review2

    add parentness