added methods for displaying cards