use new Image class