added add(Element) method