add filter_cards method