make checkCard as Class Method