changed urllib to urllib2