added filter for card type