added top 10 functionality