add attribute resource