Added thread run() and implement.