now the attributeSet in the constructor is also unused.