thread for curl