you probably need a hash table