trying to get code generation working