Add threads input