mycard implementation