check for curl