new feature: add and delete threads