saving progress for randomly generating items