#9 random seed now set before calling rand()