Added multi thread argument