image class 2nd modification