adding second thread
Programming changes made by Aaron on Thursday