changed string array to item array