Example to multi thread