stubs of card generator