MAke setListAttributes do what it is supposed to