Added ranking pagination