modified new image and adjusted accordingly