switched to curl