create thread front end