Single code generator