Made more change to GetItemList function.