read_pixel() added