I'm working on a form for the iphone and I would like a female/male button choice. The buttons originally have an M and an F written on them and when you choose one, an image flips over. I managed to display the images when the buttons are pressed. The problem I was having is that they were able to both be displayed at the same time but when one is enabled the other image should disappear. I've tried to correct it and now the program crashes. 
 implementation file:

```
-(IBAction) setCheckBox2: (id) sender
{
    UIImage *selected = [UIImage imageNamed:@"female.tiff"];
    // UIImage *notSelected = [UIImage imageNamed:@"male.tiff"];

    if (sender == selected)

    {
        [sender setImage:selected];
    }
    else
    {

        [sender setImage:NO];  
    }

```

Then I was going to create another function for the male image being selected. Any suggestions? 

Thanks!