Adding type to Card