added curl_init