Mechanism of parents elements and child elements