Puppyslutmas Codesssss.

Totally untested. Compiles doe.