how do threads work?
we hsould fix gitignore