needed Element::getType()