set the item list as a attribute of a global variable.