Added credit card function