final trial before using the command line multi-thread