working to start thread