declaring a new class: MyImage