updated random generator
generated java file