refactor for threading

superfluous curlies.