improve query time for random papers