working version output top 20 directly.