add each_pixel and some other stuff