simple hash table working