changed to card model