changed to curl