CardMaker won't show the card! (please help!!)

Making magic cat head for toontown, serverside.
Doing cheesyeffect, replacing pumpkin head.
It gets rid of the toon’s head, but oddly enough the card will not appear. I’m exhausted, its hard to type.
Can anyone see any issues with the code?

	def loadPumpkin(self, headStyle, lod, copy):
		if hasattr(base, 'launcher') and (not base.launcher or base.launcher and base.launcher.getPhaseComplete(3)): 
			if not hasattr(self, 'pumpkins'):
				self.pumpkins = NodePathCollection()
			cardMaker = CardMaker('laughing-man-cm')
			cardMaker.setHasUvs(1)
			cardMaker.setFrame(-0.5, 0.5, -0.5, 0.5)

			nodePath = NodePath('laughing-man')
			nodePath.setBillboardPointEye()

			lmBase = nodePath.attachNewNode(cardMaker.generate())
			lmBase.setTexture(loader.loadTexture('phase_3/maps/lm_base.rgba'))
			lmBase.setY(-0.3)
			lmBase.setTransparency(True)

			lmText = nodePath.attachNewNode(cardMaker.generate())
			lmText.setTexture(loader.loadTexture('phase_3/maps/lm_text.rgba'))
			lmText.setY(-0.301)
			lmText.setTransparency(True)
			lmText.hprInterval(10, (0, 0, -360)).loop()

			lmFace = nodePath.attachNewNode(cardMaker.generate())
			lmFace.setTexture(loader.loadTexture('phase_3/maps/lm_face.rgba'))
			lmFace.setY(-0.302)
			lmFace.setTransparency(True)

			return nodePath
			if cardMaker:
				def addHeadEffect(head, book=False):
					card = makeCard(book=book)
					card.setScale(1.45 if book else 2.5)
					card.setZ(0.05 if book else 0.5)
					card.instanceTo(head)
					def addToonEffect(toon):
						toon.getDialogueArray = lambda *args, **kwargs: []
						
				if lod:
					addHeadEffect(self.find('**/' + lod + 'head', lod))
				else:
					addHeadEffect(self.find('head', lod))
				self.pumpkins.addPath(p)
				pmodel.removeNode()
				return True
			else:
				del self.pumpkins
				return False
		else:
			ToonHead.notify.debug('phase_4 not complete yet. Postponing pumpkin head load.')

I’m an idiot, but where do you parent the card to?