Got search and compare working from corpus papge