added methods to Card.java