Basic code generation