created a limit on number to be displayed