added curl_exec