use multithread

change class name and multithread function