not using pycurl