NSInteger -> NSUInteger on consume/produceData