Question: Seems simple but I can't figure it out.

```
let getRandom = randomSequenceGenerator(min: 1, max: 20)
for _ in 1...20 {
    println(getRandom())
}

```

getRandom prints out 20 non-repeating numbers into the console... PERFECT.

I want to get those 20 non-repeating numbers into an array so I can use them.
I can't seem to figure it out.

Or anyway I can access those 20 numbers other than in the console.

Answer: 
You never assign any value to `name` in your `Boy` instance, I've added some explanatory comments:

```
// Creates a Person (not a Boy)
Person person = new Person();

// Sets the name on that Person
person.printinfo("WOLFSKIN", "Test Address");

// Creates an *entirely separate object*, an instance of Boy
Boy boy = new Boy();

// Accesses `name`, which has never been set
boy.info();

```

To set `name` on your `Boy` instance, call `printinfo` on your `Boy` instance:

```
boy.printinfo("WOLFSKIN", "Test Address");

```

Let's throw some ASCII-art at it:

```
Person person = new Person();

```

gives us:

```

+-----------+     +-----------------+
|   person  |---->| Person instance |
+-----------+     +-----------------+
                  | name: null      |
+-----------+     | address: null   |
| boy: null |     +-----------------+
+-----------+

```

Then after:

```
person.printinfo("WOLFSKIN", "Test Address");

```

We have:

```

+--------+       +-----------------+    +-----------------+
| person |------>| Person instance |    | String instance |
+--------+       +-----------------+    +-----------------+
                 | name            |--->| "WOLFSKIN"      |
                 | address         |-+  +-----------------+
                 +-----------------+ |
+-----------+                        |  +-----------------+
| boy: null |                        |  | String instance |
+-----------+                        |  +-----------------+
                                     +->| "Test Address"  |
                                        +-----------------+

```

Now we do:

```
Boy boy = new Boy();

```

And get this:

```

+--------+       +-----------------+    +-----------------+
| person |------>| Person instance |    | String instance |
+--------+       +-----------------+    +-----------------+
                 | name            |--->| "WOLFSKIN"      |
                 | address         |-+  +-----------------+
                 +-----------------+ |
+-----------+                        |  +-----------------+
| boy       |-+                      |  | String instance |
+-----------+ |                      |  +-----------------+
              |                      +->| "Test Address"  |
              |                         +-----------------+
              |  +-----------------+
              +->| Boy instance    |
                 +-----------------+
                 | name: null      |
                 | address: null   |
                 +-----------------+

```

Note that the Boy instance is made up of the fields of its superclasses (`Person`, in this case) as well as its own fields (but it doesn't have any).

Since you've never filled in a value for `boy`'s `name`, it still has the default `null`.
From your example, you appear to think that `this` returns the instance of your super class, when it actually returns the instance of the class it is in. In your example, `this` refers to your `Boy` class and its fields, when you seem to want it to refer to `Person`. `Boy` does not have the same `name` as `Person` unless you add:

```
Boy boy = new Boy();
boy.name = person.name;
boy.info();

```

I am not an expert on this, but I believe you could also do, in your `info()` method:

```
this.name = super.name;
System.out.println("Subclass Name " + this.name);

```

You may need to make `name` a static variable in `Person` if you use the second approach, but I am not sure (if anyone knows please edit/comment). It is probably safer to use the first one, because then you can have multiple instances of `Boy` each with a different name. Anyone reading this who knows more or knows if I am incorrect in any of this, please edit/comment any corrections.