retrive value by key and value