check, that the reference element is exists, before inserting a new element before check that the element is valid, before removing it
check, that the reference element is exists, before inserting a new element
before
check that the element is valid, before removing it

Ajnasz/hupper,Ajnasz/hupper