for-loop should use unsigned NSUInteger