Working on implementing threads.