Adding AccumVar within loop of random access loop to ensure loop is run