implemented pairwise reranking with two new features