added processing of the raster