another untested attemp with curl