create multithreading, first draft.