cast to NSUInteger