* refactoring code.
* more test cases on changed card.