reverse search to the rescue