syntax change for pixel_index