This function takes the following parameters:
The attribute that will contain the values.
Values to be added to the attribute.