Now using scala.util.Random instead of java.util.Random