changed pil to pillow