threads working! huzzah