switch to curl