create the thread object and call it