tweaks to threads