most of the big pieces ready. time to debug all the compiler bugs