added selective threads