revert to curl, testing loop