removal of unnecessary destroy_image method