added ability to add attribute options