problems with the hash function!