generate cards

you should break this up on individual lines