updated for change in attribute number