adding ranking (commiting so segfault can be tagged)
add get_ranking(start, end)