added random number utils