* implement using curl