add push to hash table, improved getNext