first step of creating the relation between the two parent and child