renamed class to card