First version : sample search from hash is working