Remove matchCard function.