changed the max random number