still working on curl