Refactored CreditCard from week 5