When I created a UISwitch element in my storyboard, and attached it to the .h file, there was this line generated in the controller:

```
@property (weak, nonatomic) IBOutlet UISwitch *wantHelp;

```

And I was trying to figure out how to make the system notice when the value was changed, so I tried to manually add something like this below the original statement:

```
- (IBAction)wantHelp:(id)helpToggle;

```

and in the controller, I have something like this:

```
-(IBAction)helpToggle:(id)sender
{
    NSLog(@"sender is: %@", sender);

    if (wantHelp.on) 
    {
        NSLog(@"yes");
    }
    else 
    {
        NSLog(@"No");
    }
}

```

What I wanted to do is connect the helpToggle IBAction with the particular UISwitch element, but when I run it, I get an error: `unrecognized selector sent to instance` which as I understand is means that I called an operation on an incorrect object.

Could someone help me understand what I am doing wrong here?

Thanks!!

This is how my .m file looks like:

```
@interface PlanBusinessController ()

@end

@implementation PlanBusinessController
@synthesize businessDescription;
@synthesize personName;
@synthesize personEmail;
@synthesize privacy;
@synthesize wantHelp;

-(IBAction)helpToggle:(id)sender
{
    NSLog(@"sender is: %@", sender);

    if (wantHelp.on) 
    {
        NSLog(@"yes");
    }
    else 
    {
        NSLog(@"No");
    }
}

```