wraped up multithread Pt. some testing done.