refactor; change api to getItemInfo