I am trying to write an extension to my `Controller` class. The problem is I can't seem to figure out how..

I have the following class named test in which there is one function which simply returns `aaaa` and in in the same file, at the end, as my `Controller`:

```
class test extends Controller
    {
        function test()
            {
                parent::Controller();
            }

        function echoMe(){

            return 'aaaaaaaaaaaaaaaaa';
        }
    }

```

Within my `Controller` class I have a function which is the general output for a clients homepage. I'm trying to call the function `echoMe` from the extension above, but I keep getting

> 
> Call to undefined method Controller::echoMe()
> 
> 
> 

Here is the client function (the call to `echoMe()` is right at the top):

```
function controller_client1($controlData = NULL)
    {
        echo $this -> echoMe();

        //as the client page is content from the xml, mmodel needs the page number
        $pageNumber = '';
        if(isset($_GET['number']))
            {
                $num = htmlentities($_GET['number']);
                if(ctype_digit($num) && $num >= 0)
                    {
                        $pageNumber = $num;
                    }
            }
        else{
            $pageNumber = 0;
        }
        //loading the page content
        $data = $this->model->model_loadXMLdata($pageNumber);

        if(!empty($controlData))
            {
                //check if there is any info in the control data sent
                foreach($controlData as $key => $value)
                    {
                        //add the info to the data array
                        $data[$key] = $value;
                    }
            }

        $this->load->load_clientHomePage($data);
    }

```

I know this is a very simple question. I've been trying to follow [this](http://codeigniter.com/wiki/MY_Controller_-_how_to_extend_the_CI_Controller) guide, but something isn't clicking... 

Could somebody please help? How can I call the function `echoMe()` from test?

I know how to write just a brand new class and call it, but I'm trying to learn how to extend properly and keep failing. 

Am I meant to call the "test" from within the `Controller` somewhere?