use `.attrs` to maintain a list of attributes