Took out multithreading