def METHOD_NAME(self, key, value):
    slot = self.find(key)
    if slot.next == hash_map.NODE_EMPTY:
        if self.count >= len(self.bucket):
            self.resize(len(self.bucket) * 2)
        self.insert_p(key, value)
        self.count += 1