adds some comments to resetAttrs