added hash table and views