downloading with curl