Added put statement emitCode