added a third image class to the last image