raster function additions