fingerprint scanner communication through uart

ok michael, something kinda like this with the for loop

[code if (fdk.available() >=11 ){
    
    for(i=0; i<11;i++){
      incomingByte[i] = fdk.read();]

i hope this is closer than i have been....only problem is when i use it in the full sketch as followes i get error 'i' was not declared in this scope in the loop

#include <NewSoftSerial.h>
#include <string.h>
NewSoftSerial fdk(2, 3);
int ledPin = 13;
char incomingByte[11];
byte array1[]={0xFF, 0xFF, 0xFF, 0xF5, 0xC0, 0x13, 0x0E, 0xFF, 0xFF, 0xFF, 0xF5};
byte array2[]={0xFF, 0xFF, 0xFF, 0xF5, 0xC0, 0x10, 0x0E, 0xFF, 0xFF, 0xFF, 0xF5};
byte array3[]={0xFF, 0xFF, 0xFF, 0xF5, 0xC0, 0x12, 0x0E, 0xFF, 0xFF, 0xFF, 0xF5};
byte array4[]={0xFF, 0xFF, 0xFF, 0xF5, 0xC0, 0x11, 0x0E, 0xFF, 0xFF, 0xFF, 0xF5};


void setup()  
{
  Serial.begin(9600);
  fdk.begin(9600);
  pinMode(13,OUTPUT);
  pinMode(12,OUTPUT);
}

void loop()
{
  if (fdk.available() >=11 )
{
    
    for(i=0; i<11;i++){}
{
      incomingByte[i] = fdk.read();
    }   
  }
}

as you know i want the incoming serial in an array so i can compare one value of the data for a match