fixed bug: cannot search. added a list along with the hash