Re-add the [33] to Cname and Cdec since those are strings.
You have to define which class index of Cname and Cdesc that has to be written to.
MAX_CLASSES-1 will always remain the same meaning you will overwrite every time you use this native. I'm guessing you don't want that. You need global/static variable that is increasing at the end of this native.