Trimming threads