working on image.cc