image class and some other shit