creation of initial rand.java