joined threads to get them to run