merged toplist function