cached latestItems() function