search with hash