rand.nextInt(n) is exclusive, whoops