pre template-fixing
figured out template format, compile errors abound