removed redundant threads