beginning new thread framework