begin: major output surgery
knkn
stuff builds, now un-undefine
fix the holes