Made credit card validation a static method