removing PIL as a dependency