now define max as being a NSUInt