function for pre-fetched item data