Reduced the program's length.

Reduced the program's length by changing the method by which the program instantiates cards.