need to do n card matching.
a