top n number restriction added