Builds parent-child relationship from just parent