getting ready to do multithreading