adding partial element and subclasses