made functions outof repeated function calls, graphs for top 10, 20, 50, 100, 500, 1000 users