changed print card methods parameter to 'card"