split out random generator. improved warm-up.