first draft of computation compiles