using PIL to enhance results