change match algorithm for SetCard