top n number restriction added - 2