Only create new elements if a name is given