I've got this loop in Objective C and need some coaching to get it to work out. I'm trying to calculate the height of four bars based on the numbers stored as strings in array, array. biggestTotal is a string containing the largest of the four objects in array. I previously formatted each of the elements in array as currency.

```
for (int j=0; j<[array count]; j++) {    
    NSLog(@"%@ %@ %@",[NSString stringWithFormat:@"%d", j], [array objectAtIndex:j], biggestTotal);
    double barHeight = (([[array objectAtIndex:j] doubleValue])*400.0/([biggestTotal doubleValue]));
    NSLog(@"%@",barHeight);
    CGRect currentRect = CGRectMake((150.0+(j*125.0)), (425.0-barHeight), 100.0, barHeight); // (x, y, width, height)
    CGContextAddRect(context, currentRect);
    CGContextDrawPath(context, kCGPathFillStroke);
}

```

With my NSLog statements above, I get Console outputs as follows:

```
0 $106,758.20 $106,758.20
(null)
1 $14,536.69 $106,758.20
(null)
2 $32,111.96 $106,758.20
(null)
3 $100,020.00 $106,758.20
(null)

```

Also, sadly I get no bars. What am I missing here? Why is the barHeight a (null)? Any help would be most appreciated...