gave the image a class