attempting to use PIL