add getSmallestItems and processAllInRandomOrder