worked on image class