Changed some methods from String to Card