checking for curl