Got rid of threads