add rank and category search