You missed the random.nextInt(7)