handle multiple elements and parents/children
adding third element