Change the list to be an attribute