updates to CreditCard class, with spec file