Working on intermediate code generation