First draft of what should be largely working.