Use NSUInteger instead of int (silence warnings)