updated with urllib2