Changed runnables to threads