updated search to find heading and region