why do you keep creating new procs for every subtype? It would be easier to just have a createCorpse that you override.