adds some comments for resetAttrs