implement first version of card search filter