recover image data
pset5 for submit