adding data to the attributes