refactor for threading

remove single-liner curlies (unless you expect to have to put additional code in here)