use curl cause it seems more correct