same for curl and rm