added missing curl statement