added external curl-ing lib