now using threading.Thread so that i can simply check to see if it is still running
removed extra print statments