ticket#5 -added PIL