How i put my value into array?

Here is my present code:

Is this way ok?

    if (im920serial.available()){
      count=0;
      count2=0;
      while (im920serial.available()){
        dummy=im920serial.read();
        if (dummy!=',' && dummy!=':') {
          im920_data[count2][count]=dummy;
          count++;
        }      
        if (dummy==':') {
          //Serial.print(im920_data[count2]);
          count=0;
          count2++;
          
        }
          else if (count2==1 && count==2) {
            id = strtol(im920_data[count2], NULL, 16);
            Serial.print("ID:");
            Serial.println(id);
            count=0;
            count2++;
         }
          else if (count2>1 && count==4) {
            valuetemp = strtol(im920_data[count2], NULL, 16);
            Serial.print("Value:");
            Serial.println(valuetemp);
            count=0;
            count2++;
         }
           
      }

    }