return value from thread
update
remove bug in para passing
remove bug in prepare
fill code in step 1