Started first two stages of code generation