now use a class and add some credit card template