a suprisingly large amount of code now compiles