int next(int min, int max, Random rand) { int num = min; num = num + 1; return num; //min + rand.nextInt(max - min) }