add scan kernel