removed more image code