loop adjusted to show X amount of specific category